object frmConsultarVendas: TfrmConsultarVendas
  Left = 230
  Top = 97
  Caption = 'Consultar vendas'
  ClientHeight = 563
  ClientWidth = 1061
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'Tahoma'
  Font.Style = []
  FormStyle = fsMDIChild
  KeyPreview = True
  OldCreateOrder = False
  Position = poDesktopCenter
  Visible = True
  OnCreate = FormCreate
  OnKeyPress = FormKeyPress
  PixelsPerInch = 96
  TextHeight = 13
  object Splitter1: TSplitter
    Left = 0
    Top = 333
    Width = 1061
    Height = 3
    Cursor = crVSplit
    Align = alBottom
    ExplicitTop = 65
    ExplicitWidth = 271
  end
  object GroupBox1: TGroupBox
    Left = 0
    Top = 0
    Width = 1061
    Height = 65
    Align = alTop
    Caption = 'Filtros'
    TabOrder = 0
    ExplicitWidth = 912
    object Label1: TLabel
      Left = 107
      Top = 35
      Width = 16
      Height = 13
      Caption = 'at'#233
    end
    object Label2: TLabel
      Left = 9
      Top = 14
      Width = 92
      Height = 13
      Caption = 'Per'#237'odo de emiss'#227'o'
    end
    object Label3: TLabel
      Left = 256
      Top = 14
      Width = 68
      Height = 13
      Caption = 'Tipo de venda'
    end
    object Label4: TLabel
      Left = 408
      Top = 14
      Width = 76
      Height = 13
      Caption = 'Forma de pagto'
    end
    object btnFiltrar: TJvImgBtn
      Left = 904
      Top = 28
      Width = 75
      Height = 25
      Caption = 'Filtrar'
      ImageIndex = 3
      Images = frmPrincipal.ImageList16
      TabOrder = 6
      OnClick = btnFiltrarClick
      HotTrackFont.Charset = DEFAULT_CHARSET
      HotTrackFont.Color = clWindowText
      HotTrackFont.Height = -11
      HotTrackFont.Name = 'Tahoma'
      HotTrackFont.Style = []
    end
    object edtNomeCliente: TLabeledEdit
      Left = 552
      Top = 30
      Width = 153
      Height = 21
      EditLabel.Width = 61
      EditLabel.Height = 13
      EditLabel.Caption = 'Nome cliente'
      TabOrder = 4
    end
    object edtDataIni: TJvDateEdit
      Left = 8
      Top = 30
      Width = 93
      Height = 21
      CheckOnExit = True
      TabOrder = 0
    end
    object edtDataFim: TJvDateEdit
      Left = 129
      Top = 30
      Width = 94
      Height = 21
      CheckOnExit = True
      TabOrder = 1
    end
    object cbxTipoVenda: TComboBox
      Left = 256
      Top = 30
      Width = 113
      Height = 21
      Style = csDropDownList
      ItemIndex = 2
      TabOrder = 2
      Text = '  '
      Items.Strings = (
        'Venda Normal'
        'Venda Or'#231'amento'
        '  ')
    end
    object edtNroCupom: TLabeledEdit
      Left = 743
      Top = 30
      Width = 106
      Height = 21
      EditLabel.Width = 57
      EditLabel.Height = 13
      EditLabel.Caption = 'Nro. Cupom'
      TabOrder = 5
    end
    object cbxFormaPagto: TComboBox
      Left = 408
      Top = 30
      Width = 97
      Height = 21
      Style = csDropDownList
      ItemIndex = 3
      TabOrder = 3
      Text = '  '
      Items.Strings = (
        'Dinheiro'
        'Cheque'
        'Cart'#227'o'
        '  ')
    end
  end
  object GroupBox2: TGroupBox
    Left = 0
    Top = 65
    Width = 1061
    Height = 268
    Align = alClient
    Caption = 'Lista de vendas realizadas'
    TabOrder = 1
    object DBGrid1: TDBGrid
      Left = 2
      Top = 15
      Width = 1057
      Height = 217
      Align = alClient
      DataSource = dsTblnfs
      Options = [dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgRowSelect, dgAlwaysShowSelection, dgCancelOnExit, dgTitleClick, dgTitleHotTrack]
      TabOrder = 0
      TitleFont.Charset = DEFAULT_CHARSET
      TitleFont.Color = clWindowText
      TitleFont.Height = -11
      TitleFont.Name = 'Tahoma'
      TitleFont.Style = []
      Columns = <
        item
          Expanded = False
          FieldName = 'nfscod'
          Title.Alignment = taRightJustify
          Title.Caption = 'Nota Fiscal'
          Width = 60
          Visible = True
        end
        item
          Alignment = taCenter
          Expanded = False
          FieldName = 'nfsdtemis'
          Title.Alignment = taCenter
          Title.Caption = 'Data Emiss'#227'o'
          Width = 72
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'LookupTipVenda'
          Title.Caption = 'Tipo Venda'
          Width = 93
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'nfscnpj'
          Title.Caption = 'CNPJ/CPF'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'nfsrazaosocial'
          Title.Caption = 'Raz'#227'o social/Nome do Cliente'
          Width = 271
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'nfsie'
          Title.Caption = 'IE'
          Width = 64
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'nfsnrocupom'
          Title.Alignment = taRightJustify
          Title.Caption = 'Nro.Cupom Fiscal'
          Width = 92
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'LookupTippagto'
          Title.Caption = 'Forma Pagto'
          Width = 64
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'CalcPercdesc'
          Title.Alignment = taRightJustify
          Title.Caption = '% Desc.'
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'nfsvldesc'
          Title.Alignment = taRightJustify
          Title.Caption = 'Valor Desconto'
          Width = 64
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'nfsvltotnf'
          Title.Alignment = taRightJustify
          Title.Caption = 'Valor da Nota'
          Width = 64
          Visible = True
        end>
    end
    object Panel1: TPanel
      Left = 2
      Top = 232
      Width = 1057
      Height = 34
      Align = alBottom
      BevelOuter = bvNone
      TabOrder = 1
      object Label5: TLabel
        Left = 697
        Top = 9
        Width = 97
        Height = 13
        Caption = 'Total em descontos:'
      end
      object Label6: TLabel
        Left = 925
        Top = 9
        Width = 75
        Height = 13
        Caption = 'Total em notas:'
      end
      object Label7: TLabel
        Left = 8
        Top = 9
        Width = 42
        Height = 13
        Caption = 'TOTAIS'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -11
        Font.Name = 'Tahoma'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object DBEdit1: TDBEdit
        Left = 800
        Top = 6
        Width = 97
        Height = 21
        TabStop = False
        Color = clBtnFace
        DataField = 'AggSumNfsvldesc'
        DataSource = dsTblnfs
        ReadOnly = True
        TabOrder = 0
      end
      object DBEdit2: TDBEdit
        Left = 1006
        Top = 6
        Width = 97
        Height = 21
        TabStop = False
        Color = clBtnFace
        DataField = 'AggSumNfsvltotnf'
        DataSource = dsTblnfs
        ReadOnly = True
        TabOrder = 1
      end
    end
  end
  object GroupBox3: TGroupBox
    Left = 0
    Top = 336
    Width = 1061
    Height = 227
    Align = alBottom
    Caption = 'Itens da venda selecionada'
    TabOrder = 2
    object DBGrid2: TDBGrid
      Left = 2
      Top = 15
      Width = 1057
      Height = 210
      Align = alClient
      DataSource = dsTblins
      Options = [dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgRowSelect, dgCancelOnExit, dgTitleClick, dgTitleHotTrack]
      TabOrder = 0
      TitleFont.Charset = DEFAULT_CHARSET
      TitleFont.Color = clWindowText
      TitleFont.Height = -11
      TitleFont.Name = 'Tahoma'
      TitleFont.Style = []
      Columns = <
        item
          Expanded = False
          FieldName = 'inspos'
          Title.Alignment = taRightJustify
          Title.Caption = 'Posi'#231#227'o'
          Width = 49
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'procod'
          Title.Alignment = taRightJustify
          Title.Caption = 'C'#243'digo'
          Width = 77
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'prodescr'
          Title.Caption = 'Descri'#231#227'o do produto'
          Width = 384
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'fapdescr'
          Title.Caption = 'Fam'#237'lia'
          Width = 232
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'insqtde'
          Title.Alignment = taRightJustify
          Title.Caption = 'Quantidade'
          Width = 66
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'insvlunit'
          Title.Alignment = taRightJustify
          Title.Caption = 'Valor Unit'#225'rio'
          Width = 98
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'insvltot'
          Title.Alignment = taRightJustify
          Title.Caption = 'Valor Total'
          Width = 96
          Visible = True
        end>
    end
  end
  object TimerInicio: TTimer
    Interval = 50
    OnTimer = TimerInicioTimer
    Left = 844
    Top = 17
  end
  object dsTblnfs: TDataSource
    DataSet = dmDadosNotasSaida.cdsTblnfs
    Left = 456
    Top = 177
  end
  object dsTblins: TDataSource
    DataSet = dmDadosNotasSaida.cdsTblins
    Left = 456
    Top = 432
  end
end
